adminOnlyTools = { "wire_moongate", "wire_field_device", "ignite" }
respectedOnlyTools = { "ol_stacker" }

function restrictTools( pl, tr, toolmode )
	if pl:IsAdmin() then return true end
	if team.GetName( pl:Team() ) =="Respected" then
		if table.HasValue( adminOnlyTools, toolmode ) then
			pl:PrintMessage( HUD_PRINTTALK, "Sorry that tool is for admins only" )
			return false
		end
	else
		if table.HasValue( adminOnlyTools, toolmode ) or table.HasValue( respectedOnlyTools, toolmode )  then
			pl:PrintMessage( HUD_PRINTTALK, "Sorry that tool is not availible for you!" )
			return false
		end
	end
end
hook.Add( "CanTool", "ahreftoolprotection", restrictTools );